package com.yang.design.create.factory.simpleFactory;

import com.yang.design.create.factory.com.AwardInfo;
import com.yang.design.create.factory.com.ResponseResult;

/**
 * 具体产品
 */
public class SmallGiftFreeGoods implements IFreeGoods {
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        System.out.println("向用户:"+awardInfo.getUid() +"发放礼品");
        return new ResponseResult(200,"成功",null);
    }
}
